	<?php
/*********************************************************************************
 * SugarCRM is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 * 
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by SugarCRM".
 ********************************************************************************/

	$manifest = array (
		 'acceptable_sugar_versions' => 
		  array (
	     	
		  ),
		  'acceptable_sugar_flavors' =>
		  array(
		  	'CE', 'PRO','ENT'
		  ),
		  'readme'=>'',
		  'key'=>'mv',
		  'author' => 'Daniel',
		  'description' => 'Modulos para el proyecto de MVGestión',
		  'icon' => '',
		  'is_uninstallable' => true,
		  'name' => 'mvgestion',
		  'published_date' => '2009-10-30 16:43:15',
		  'type' => 'module',
		  'version' => '1256920995',
		  'remove_tables' => 'prompt',
		  );
$installdefs = array (
  'id' => 'mvgestion',
  'beans' => 
  array (
    0 => 
    array (
      'module' => 'mv_collection_center',
      'class' => 'mv_collection_center',
      'path' => 'modules/mv_collection_center/mv_collection_center.php',
      'tab' => true,
    ),
    1 => 
    array (
      'module' => 'mv_invoices',
      'class' => 'mv_invoices',
      'path' => 'modules/mv_invoices/mv_invoices.php',
      'tab' => true,
    ),
    2 => 
    array (
      'module' => 'mv_recycling_center',
      'class' => 'mv_recycling_center',
      'path' => 'modules/mv_recycling_center/mv_recycling_center.php',
      'tab' => true,
    ),
    3 => 
    array (
      'module' => 'mv_waste_collection',
      'class' => 'mv_waste_collection',
      'path' => 'modules/mv_waste_collection/mv_waste_collection.php',
      'tab' => true,
    ),
  ),
  'layoutdefs' => 
  array (
    0 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/layoutdefs/mv_collection_center.php',
      'to_module' => 'mv_collection_center',
    ),
    1 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/layoutdefs/mv_invoices.php',
      'to_module' => 'mv_invoices',
    ),
    2 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/layoutdefs/mv_recycling_center.php',
      'to_module' => 'mv_recycling_center',
    ),
    3 =>
    array (
      'from' => '<basepath>/SugarModules/relationships/layoutdefs/mv_accounts.php',
      'to_module' => 'Accounts',
    ),
  ),
  'relationships' => 
  array (
    0 => 
    array (
      'meta_data' => '<basepath>/SugarModules/relationships/relationships/mv_collection_center_mv_waste_collectionMetaData.php',
    ),
    1 => 
    array (
      'meta_data' => '<basepath>/SugarModules/relationships/relationships/mv_invoices_mv_waste_collectionMetaData.php',
    ),
    2 => 
    array (
      'meta_data' => '<basepath>/SugarModules/relationships/relationships/mv_recycling_center_mv_waste_collectionMetaData.php',
    ),
    3 =>
    array (
      'meta_data' => '<basepath>/SugarModules/relationships/relationships/mv_accounts_invoicesMetaData.php',
    ),
    4 =>
    array (
      'meta_data' => '<basepath>/SugarModules/relationships/relationships/mv_accounts_waste_collectionMetaData.php',
    ),
  ),
  'image_dir' => '<basepath>/icons',
  'copy' => 
  array (
    0 => 
    array (
      'from' => '<basepath>/SugarModules/modules/mv_collection_center',
      'to' => 'modules/mv_collection_center',
    ),
    1 => 
    array (
      'from' => '<basepath>/SugarModules/modules/mv_invoices',
      'to' => 'modules/mv_invoices',
    ),
    2 => 
    array (
      'from' => '<basepath>/SugarModules/modules/mv_recycling_center',
      'to' => 'modules/mv_recycling_center',
    ),
    3 => 
    array (
      'from' => '<basepath>/SugarModules/modules/mv_waste_collection',
      'to' => 'modules/mv_waste_collection',
    ),
    4 =>
    array (
      'from' => '<basepath>/override',
      'to' => '.',
    ),
  ),
  'language' => 
  array (
    0 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
      'language' => 'en_us',
    ),
    1 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
      'language' => 'es_es',
    ),
    2 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_collection_center.php',
      'to_module' => 'mv_collection_center',
      'language' => 'en_us',
    ),
    3 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_collection_center.php',
      'to_module' => 'mv_collection_center',
      'language' => 'es_es',
    ),
    4 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
      'language' => 'en_us',
    ),
    5 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
      'language' => 'es_es',
    ),
    6 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_invoices.php',
      'to_module' => 'mv_invoices',
      'language' => 'en_us',
    ),
    7 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_invoices.php',
      'to_module' => 'mv_invoices',
      'language' => 'es_es',
    ),
    8 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
      'language' => 'en_us',
    ),
    9 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
      'language' => 'es_es',
    ),
    10 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_recycling_center.php',
      'to_module' => 'mv_recycling_center',
      'language' => 'en_us',
    ),
    11 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_recycling_center.php',
      'to_module' => 'mv_recycling_center',
      'language' => 'es_es',
    ),
    12 => 
    array (
      'from' => '<basepath>/SugarModules/language/application/en_us.lang.php',
      'to_module' => 'application',
      'language' => 'en_us',
    ),
    13 => 
    array (
      'from' => '<basepath>/SugarModules/language/application/es_es.lang.php',
      'to_module' => 'application',
      'language' => 'es_es',
    ),
    14 =>
    array (
      'from' => '<basepath>/SugarModules/language/Accounts/en_us.lang.php',
      'to_module' => 'Accounts',
      'language' => 'en_us',
    ),
    15 =>
    array (
      'from' => '<basepath>/SugarModules/language/Accounts/es_es.lang.php',
      'to_module' => 'Accounts',
      'language' => 'es_es',
    ),
    16 =>
    array (
      'from' => '<basepath>/SugarModules/language/Contacts/es_es.lang.php',
      'to_module' => 'Contacts',
      'language' => 'en_us',
    ),
    17 =>
    array (
      'from' => '<basepath>/SugarModules/language/Contacts/es_es.lang.php',
      'to_module' => 'Contacts',
      'language' => 'es_es',
    ),
    18 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_accounts.php',
      'to_module' => 'Accounts',
      'language' => 'en_us',
    ),
    19 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/language/mv_accounts.php',
      'to_module' => 'Accounts',
      'language' => 'es_es',
    ),
  ),
  'vardefs' => 
  array (
    0 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/vardefs/mv_waste_collection.php',
      'to_module' => 'mv_waste_collection',
    ),
    1 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/vardefs/mv_collection_center.php',
      'to_module' => 'mv_collection_center',
    ),
    2 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/vardefs/mv_invoices.php',
      'to_module' => 'mv_invoices',
    ),
    3 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/vardefs/mv_recycling_center.php',
      'to_module' => 'mv_recycling_center',
    ),
    4 => 
    array (
      'from' => '<basepath>/SugarModules/relationships/vardefs/mv_accounts.php',
      'to_module' => 'Accounts',
    ),
  ),
  'layoutfields' => 
  array (
    0 => 
    array (
      'additional_fields' => 
      array (
      ),
    ),
    1 => 
    array (
      'additional_fields' => 
      array (
      ),
    ),
    2 => 
    array (
      'additional_fields' => 
      array (
      ),
    ),
  ),
  'custom_fields' => array(
    array (
       'name'            => 'nif',
       'label'           => 'LBL_NIF', 
       'type'            => 'varchar',
       'max_size'        => 9,
       'require_option'  => 'required', 
       'audited'         => 1, 
       'module'          => 'Accounts',
     ),
     array(
        'name'           => 'nif',
        'label'          => 'LBL_NIF',
        'type'           => 'varchar',
        'max_size'       => 9, 
        'require_option' => 'required',
        'audited'        => 1, 
        'module'         => 'Contacts',
     ),
  ),
  'logic_hooks' => array (
    array(
        'module'         => 'mv_invoices',
        'hook'           => 'before_save',
        'order'          => 1,
        'description'    => 'Generates the invoice reference',
        'file'           => 'modules/mv_invoices/logic_hooks/generate_reference.php',
        'class'          => 'generate_reference',
        'function'       => 'generate_reference',
    ), 
    array(
        'module'         => 'mv_waste_collection',
        'hook'           => 'before_save',
        'order'          => 1,
        'description'    => 'Generates the waste collection reference',
        'file'           => 'modules/mv_waste_collection/logic_hooks/generate_reference.php',
        'class'          => 'generate_reference',
        'function'       => 'generate_reference',
     ), 
  ),
    
);